class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :surname
      t.string :name
      t.string :fathername
      t.date :birthday
      t.integer :sex
      t.string :curaddress
      t.string :homeaddress
      t.string :email
      t.string :password
      t.string :typee
      t.string :status
      t.string :group
      t.string :photo
      t.timestamps
    end
  end
end
